package com.ayf.payment.game.api.mapper.platform;

import com.ayf.payment.game.api.dto.criteria.SMSSelectCriteria;
import com.ayf.payment.game.api.dto.platform.SmsContentDTO;
import com.ayf.payment.game.api.entity.platform.SmsRecord;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface SmsRecordMapper extends Mapper<SmsRecord> {
    /**
     * 短信查询
     *
     * @param smsCriteria
     * @return
     */
    List<SmsRecord> list(@Param("sms") SMSSelectCriteria smsCriteria);

    void deleteSmsByIds(@Param("sms") SmsContentDTO smsContentDTO);
}